package com.c4p.config;

import com.c4p.clazz.CompilingClassLoader;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.util.ClassUtils;

@Configuration
public class CompilingConfig {

    @Bean
    public CompilingClassLoader compilingClassLoader(){
        return new CompilingClassLoader(ClassUtils.getDefaultClassLoader());
    }
}
